package com.geekaca.d2.operator;

public class OperatorLogic {
    public static void main(String[] args) {
        double screenSize = 7.95;
        double mem = 16;
        // 现在找到的手机是否符合几个条件的组合
        boolean isFuhe = screenSize > 6.95 & mem > 8;
        System.out.println("是否符合条件: " + isFuhe);

        System.out.println("===========掌握短路与和或=============");
        double screenSz = 4.3;
        double memory = 16;

        boolean isScreenOk = screenSize>6.95;
        boolean isMemoryOk = memory>8;


    }
}
